services.buildkite-agents.<name>.hooks

"Agent" hooks to install. See https://buildkite.com/docs/agent/v3/hooks for possible options.

Type
attribute set of strings concatenated with "\n"
Default
{ }
Example
{
  environment = ''
    export SECRET_VAR=`head -1 /run/keys/secret`
  '';
}
Declared
<nixpkgs/nixos/modules/services/continuous-integration/buildkite-agents.nix>